@import './../../lib/reset.scss';
.my-drawer {
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.my-drawer .am-drawer-sidebar {
  background-color: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.my-drawer .am-drawer-sidebar .am-list {
  width: 1.5rem;
  padding: 0;
}
.my-drawer .am-drawer-content{
  padding-top: 0 ;
}

.am-tabs-horizontal .am-tabs-content-wrap{
  position: relative;
  left: 0
}

// 轮播图
.banner{
  height: 1.6rem;
}

.fenlan{
  padding-left: 0.15rem;
  height:0.28rem;
  font-size:0.14rem;
  font-weight:bold;
  color:rgba(51,51,51,1);
  line-height:0.28rem;
}
.docs {
    height: 0.83rem;
    width: 100%;
    margin-bottom: 0.25rem;
    overflow: auto;
    display: flex;
    img{
      width: 1.48rem;
      height: 0.83rem;
      border-radius: 10px;
      margin-left: 0.1rem;
      border: 1px;
      display: block;
      flex-shrink: 0;
      }
  }

  .traveldocs {
    height: 1.4rem;
    width: 100%;
    margin-bottom: 0.25rem;
    overflow: auto;
    display: flex;
    .traveitem{
      width: 2.75rem;
      height: 1.4rem;
      border-radius: 10px;
      margin-left: 0.1rem;
      position: relative;
      flex-shrink: 0;
    }
    img{
      width: 2.75rem;
      height: 1.4rem;
      border: 1px;
      display: block;
      }
      .span1{
        position: absolute;
        top: 0.1rem;
        left: 0.1rem
      }
      .span2{
        position: absolute;
        top: 0.1rem;
        left: 0.45rem;
      }
      .detail{
        position: absolute;
        top:0.75rem;
        width: 100%;
        text-align: center;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden; 
        text-overflow: ellipsis;
        display: -webkit-box;
        height: auto;
        color: #fff;
        font-size: 0.15rem;
      }
  }

  .ask{
    padding: 0 0.15rem;
    height:0.28rem;
    font-size:0.14rem;
    font-weight:bold;
    color:rgba(51,51,51,1);
    line-height:0.28rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.1rem;
    span{
      display: inline-block;
      width: 0.68rem;
      height: 0.21rem;
      border-radius: 15px;
      box-sizing: border-box;
      color: #ccc;
      border: 1px solid #ccc;
      text-align: center;
      line-height: 0.21rem;
      font-size: 0.06rem;
    }
  }
  
.author{
  @include rect(3.45rem, auto);
  @include flexbox();
  @include flex-direction(column);
  @include align-items();
  margin: 0 0.15rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px dashed #999999;
  margin-bottom: 0.2rem;
  .avatar{
    display: flex;
    width: 3.45rem;
    height: 0.65rem;
    align-items: center;
    margin-bottom: 0.12rem;
    img{
      border-radius: 50%;
      margin-right: 0.1rem;
      width: 0.5rem;
      height: 0.5rem;
    }
    p{
      font-size: 0.12rem;
      font-weight: 600;
    }
    span{
      @include font-size(0.12rem);
      opacity: 0.8;
      @include color(rgba(102,102,102,1));
    }
  }
  .love{
    @include flexbox();
    @include rect(100%,0.25rem);
    @include align-items();
    @include justify-content(space-between);
    img{
      @include rect(0.25rem, 0.25rem);
    }
  }
  
}
.answer {
  @include rect(100%, 0.25rem);
  padding: 0 0.17rem 0 0.15rem;
  margin-bottom: 0.15rem;
  @include flexbox();
  @include align-items();
  @include justify-content(space-between);
  position: relative;
  img{
    @include rect(0.25rem,0.25rem);
    border: none;
  }
  input{
    @include rect(3.1rem , 0.25rem);
    outline: none;
    border: none;
    background-color: #ccc;
    border-radius: 0.125rem;
    padding-left: 0.15rem;
    font-size: 0.06rem;
    line-height: 0.25rem;
    box-sizing: border-box;
  }
  span{
    display: block;
    position: absolute;
    @include rect(0.65rem, 0.22rem);
    right: 0.17rem;
    bottom: 0;
    text-align: center;
    line-height: 0.22rem;
    background-color: #fff;
    border-radius: 0.11rem;
  }
}
.am-list-view-scrollview{
  overflow: none !important;
}
.answerDesc{
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden; 
  text-overflow: ellipsis;
  display: -webkit-box;
  height: auto;
}
